From 2ac63745004d385fd47599d658b03dcfbbc7b17d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 28 Jun 2023 00:18:06 +0100 Subject: Put linking section before name section --- ...mpiler.testing.snapshots.Snapshotter)].expected | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index f0e26329..ec34c83b 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -16,6 +16,17 @@ Function[2]: Code[2]: - func[1] size=23 - func[2] size=47 +Custom: + - name: "linking" + - symbol table [count=3] + - 0: F func=0 [ undefined explicit_name binding=global vis=default ] + - 1: F func=1 [ binding=global vis=default ] + - 2: F func=2 [ binding=global vis=default ] +Custom: + - name: "reloc.CODE" + - relocations for section: 3 (Code) [2] + - R_WASM_FUNCTION_INDEX_LEB offset=0x00002e(file=0x0000af) symbol=0 + - R_WASM_TABLE_INDEX_SLEB offset=0x000038(file=0x0000b9) symbol=1 Custom: - name: "name" - func[0] @@ -28,17 +39,6 @@ Custom: - func[2] local[1] - func[2] local[2] - func[2] local[3] -Custom: - - name: "linking" - - symbol table [count=3] - - 0: F func=0 [ undefined explicit_name binding=global vis=default ] - - 1: F func=1 [ binding=global vis=default ] - - 2: F func=2 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [2] - - R_WASM_FUNCTION_INDEX_LEB offset=0x00002e(file=0x0000af) symbol=0 - - R_WASM_TABLE_INDEX_SLEB offset=0x000038(file=0x0000b9) symbol=1 Code Disassembly: -- cgit v1.2.3